<script setup lang="ts">
import { ConfigProvider } from 'ant-design-vue';
import { useLocale } from '@/locales/useLocale';
import 'dayjs/locale/zh-cn';
import { AppProvider } from '@/components/Application';

const { getAntdLocale } = useLocale();

</script>

<template>
  <ConfigProvider :locale="getAntdLocale">
    <AppProvider>
      <RouterView />
    </AppProvider>
  </ConfigProvider>
</template>

<style scoped>

</style>
